package com.wzl.jdbc;

import com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication(exclude = {DruidDataSourceAutoConfigure.class})
@Slf4j
public class SpringbootShardingJdbcApplication {

    public static void main(String[] args) {
        try{
            SpringApplication.run(SpringbootShardingJdbcApplication.class, args);
            log.info("************SpringbootShardingJdbcApplication启动成功************");
        }catch (Exception e){
            log.error("", e);
            log.error("************SpringbootShardingJdbcApplication启动失败************");
        }

    }

}
